{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>发布消息</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form class="form-horizontal m-t" name="add_article" id="add_article" enctype="multipart/form-data">

                        <div class="form-group">
                            <label class="col-sm-3 control-label">标题：</label>
                            <div class="input-group col-sm-4">
                                <input id="title" type="text" disabled value="{$list.n_title}" class="form-control" name="title" placeholder="输入标题">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label cyanse" for="myEditor">介绍：</label>
                            <div class="input-group col-sm-9">
                                <textarea name="content" disabled style="width:70%;height:200px" id="content">{$list.n_content}</textarea>
                            </div>
                        </div>

                        <div class="form-group"id="MyContent" >
                            <label class="col-sm-3 control-label cyanse" for="myEditor">详情：</label>
                            <div class="input-group col-sm-9">
                                <textarea name=""  style="width:90%" id="myEditor">{$list.n_detail}</textarea>
                                <a id="myEditors" style="color:#A94543"></a>
                            </div>
                        </div>


                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-3">
                                <a class="btn btn-danger" href="javascript:history.go(-1);"><i class="fa fa-close"></i> 返回</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>
{include file="public/footer" /}

<script type="text/javascript">
    //百度富文本编辑器
    var editor = UE.getEditor('myEditor', {
        initialFrameHeight:450,
        autoHeight: false,
        autoHeightEnabled:false,
        autoFloatEnabled:false
    });
</script>

</body>

</html>